package com.wep.fence.constant;

/**
 * 通用常量信息
 *
 * @author wep
 */
public class Constants {
    /**
     * http请求
     */
    public static final String HTTP = "http://";

    /**
     * https请求
     */
    public static final String HTTPS = "https://";

    /**
     * 成功标记
     */
    public static final Integer SUCCESS = 200;

    /**
     * 登录成功状态
     */
    public static final int LOGIN_SUCCESS_STATUS = 0;

    /**
     * 登录失败状态
     */
    public static final int LOGIN_FAIL_STATUS = 1;


    /**
     * 失败标记
     */
    public static final Integer FAIL = 500;


    /**
     * 登录成功
     */
    public static final String LOGIN_SUCCESS = "Success";

    /**
     * 注销
     */
    public static final String LOGOUT = "Logout";

    /**
     * 注册
     */
    public static final String REGISTER = "Register";

    /**
     * 登录失败
     */
    public static final String LOGIN_FAIL = "Error";

    /**
     * 验证码有效期（分钟）
     */
    public static final long CAPTCHA_EXPIRATION = 2;

    /**
     * 重试次数
     */
    public static final int retryCountMax = 3;
}
